﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IconYuan.Model.Entity.Users
{
    /// <summary>
    /// 积分变更记录
    /// </summary>
    [SugarTable("uc_point_log")]
    public class PointLog
    {
        /// <summary>
        /// 自增id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public int log_id { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int user_id { get; set; }
        /// <summary>
        /// 积分变动数量
        /// </summary>
        public int value { get; set; }
        /// <summary>
        /// 变动后的积分
        /// </summary>
        public int points { get; set; }
        /// <summary>
        /// 描述/说明
        /// </summary>
        public string describe { get; set; } = string.Empty;
        /// <summary>
        /// 管理员备注
        /// </summary>
        public string remark { get; set; } = string.Empty;
        public int store_id { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime create_time { get; set; }
    }
}
